home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
print
/
samples.zip
/
USE.PS
< prev
next >
Wrap
Text File
|
1992-08-20
|
27KB
|
524 lines
%!PS-Adobe-2.0 EPSF-1.2
%%BeginDocument: PPS ASCII-to-Postscript Conversion
%%Title: PPS generated file
%%Creator: PPS version 2.13
%%BoundingBox: (atend)
%%DocumentFonts: (atend)
%%CreationDate: Thu 20 Aug 1992 21:37:23
%%Pages: 1
%%EndComments
%%EndProlog
%Copywrite 1988 (C) by Nathan Liskov. All Rights Reserved
save mark
/m {moveto} def
/s {show} def
/normalfont {/Helvetica findfont 16 scalefont setfont} def
/boldfont {/Helvetica-Bold findfont 16 scalefont setfont} def
/#copies 1 def
clippath pathbbox
0.98 0.98 scale
/saveobj2 save def
normalfont
18.0 774 m (File: use.doc Thu 20 Aug 1992 21:37:36 Page 1) s
18.0 720 m ( Copyright \(C\) 1989, 1992 Aladdin Enterprises. All rights reserved.) s
18.0 702 m ( Distributed by Free Software Foundation, Inc.) s
18.0 666 m (This file is part of Ghostscript.) s
18.0 630 m (Ghostscript is distributed in the hope that it will be useful, but) s
18.0 612 m (WITHOUT ANY WARRANTY. No author or distributor accepts responsibility) s
18.0 594 m (to anyone for the consequences of using it or for whether it serves an) s
18.0 576 m (y) s
18.0 558 m (particular purpose or works at all, unless he says so in writing. Ref) s
18.0 540 m (er) s
18.0 522 m (to the Ghostscript General Public License for full details.) s
18.0 486 m (Everyone is granted permission to copy, modify and redistribute) s
18.0 468 m (Ghostscript, but only under the conditions described in the Ghostscrip) s
18.0 450 m (t) s
18.0 432 m (General Public License. A copy of this license is supposed to have be) s
18.0 414 m (en) s
18.0 396 m (given to you along with Ghostscript so you can know your rights and) s
18.0 378 m (responsibilities. It should be in a file named COPYING. Among other) s
18.0 360 m (things, the copyright notice and this notice must be preserved on all) s
18.0 342 m (copies.) s
18.0 306 m (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) s
18.0 288 m (-) s
18.0 252 m (This file, use.doc, describes how to use the Ghostscript language) s
18.0 234 m (interpreter.) s
18.0 198 m (For an overview of Ghostscript and a list of the documentation files, ) s
18.0 180 m (see) s
18.0 162 m (README. ) s
18.0 126 m (********) s
18.0 108 m (******** How to use the Ghostscript interpreter ********) s
18.0 90 m (********) s
showpage
saveobj2 restore
/saveobj2 save def
normalfont
18.0 774 m (File: use.doc Thu 20 Aug 1992 21:37:36 Page 2) s
18.0 702 m (The file name of the Ghostscript interpreter is gs.exe \(MS-DOS and VMS) s
18.0 684 m (\) or) s
18.0 666 m (gs \(Unix\). To run it, you also need some external initialization file) s
18.0 648 m (s:) s
89.2 630 m (gs_*.ps \(gs_2asc.ps, gs_dps1.ps,) s
164.8 612 m ( gs_fonts.ps, gs_init.ps, gs_lev2.ps, gs_statd.ps\)) s
89.2 594 m (sym__enc.ps) s
89.2 576 m (uglyr.gsf) s
89.2 558 m (Fontmap) s
18.0 540 m (as well as any other fonts from the Ghostscript distribution \(.gsf and) s
18.0 522 m (.pfa files\).) s
18.0 486 m (To invoke the interpreter, give the command) s
89.2 468 m (gs <filename1> ... <filenameN>) s
18.0 450 m (The interpreter will read in the files in sequence and execute them.) s
18.0 432 m (After doing this, it reads further input from the primary input stream) s
18.0 414 m (\(normally the keyboard\). Each line \(i.e. characters up to a <return>\)) s
18.0 396 m ( is) s
18.0 378 m (interpreted separately. To exit from the interpreter, type quit<retur) s
18.0 360 m (n>.) s
18.0 342 m (The interpreter also exits gracefully if it encounters end-of-file.) s
18.0 324 m (Typing the interrupt character, e.g., control-C, is also safe.) s
18.0 288 m (The interpreter recognizes several switches described below, which may) s
18.0 270 m ( appear) s
18.0 252 m (anywhere in the command line and apply to all files thereafter.) s
18.0 216 m (You can get a help message by invoking Ghostscript with) s
89.2 198 m (gs -h) s
18.0 180 m (or) s
89.2 162 m (gs -?) s
18.0 144 m (This message also lists the available devices. For a little more) s
18.0 126 m (information, a one-line description of each device appears near the) s
18.0 108 m (beginning of the file devs.mak.) s
showpage
saveobj2 restore
/saveobj2 save def
normalfont
18.0 774 m (File: use.doc Thu 20 Aug 1992 21:37:36 Page 3) s
18.0 720 m (Choosing the output device) s
18.0 702 m (--------------------------) s
18.0 666 m (Ghostscript may be built with multiple output devices. Ghostscript) s
18.0 648 m (normally opens the first one and directs output to it. To use device ) s
18.0 630 m (xyz) s
18.0 612 m (as the initial output device, include the switch) s
89.2 594 m (-sDEVICE=xyz) s
18.0 576 m (in the command line. Note that this switch must precede the first .ps) s
18.0 558 m (file, and only its first invocation has any effect. For example, for) s
18.0 540 m (printer output in a normal configuration that includes an Epson printe) s
18.0 522 m (r) s
18.0 504 m (driver, you might use the shell command) s
89.2 486 m (gs -sDEVICE=epson myfile.ps) s
18.0 468 m (instead of just) s
89.2 450 m (gs myfile.ps) s
18.0 432 m (Alternatively, you can type) s
89.2 414 m (\(epson\) selectdevice) s
89.2 396 m (\(myfile.ps\) run) s
18.0 378 m (All output then goes to the printer instead of the display until furth) s
18.0 360 m (er) s
18.0 342 m (notice. You can switch devices at any time by using the selectdevice) s
18.0 324 m (procedure, e.g.,) s
89.2 306 m (\(vga\) selectdevice) s
18.0 288 m (or) s
89.2 270 m (\(epson\) selectdevice) s
18.0 252 m (As yet a third alternative, you can define an environment variable) s
18.0 234 m (GS_DEVICE as the desired default device name. The order of precedence) s
18.0 216 m ( for) s
18.0 198 m (these alternatives, highest to lowest, is:) s
89.2 180 m (selectdevice) s
89.2 162 m (\(command line\)) s
89.2 144 m (GS_DEVICE) s
89.2 126 m (\(first device in build list\)) s
18.0 90 m (To select the density on a printer, use) s
showpage
saveobj2 restore
/saveobj2 save def
normalfont
18.0 774 m (File: use.doc Thu 20 Aug 1992 21:37:36 Page 4) s
89.2 720 m (gs -sDEVICE=<device> -r<xres>x<yres>) s
18.0 702 m (For example, on a 9-pin Epson-compatible printer, you can get the) s
18.0 684 m (lowest-density \(fastest\) mode with) s
89.2 666 m (gs -sDEVICE=epson -r60x72) s
18.0 648 m (and the highest-density mode with) s
89.2 630 m (gs -sDEVICE=epson -r240x72.) s
18.0 612 m (On a 24-pin printer, the lowest density is) s
89.2 594 m (gs -sDEVICE=epson -r60x60) s
18.0 576 m (and the highest-density 24-pin mode is) s
89.2 558 m (gs -sDEVICE=epson -r360x180) s
18.0 522 m (If you select a printer as the output device, Ghostscript also allows ) s
18.0 504 m (you) s
18.0 486 m (to control where the device sends its output. Normally, output goes) s
18.0 468 m (directly to the printer \(PRN\) on MS-DOS systems, and to a scratch file) s
18.0 450 m ( on) s
18.0 432 m (Unix or VMS systems. To send the output to a series of files foo1.xyz) s
18.0 414 m (,) s
18.0 396 m (foo2.xyz, ..., use the switch) s
89.2 378 m (-sOutputFile=foo%d.xyz) s
18.0 360 m (\(For compatibility with older versions of Ghostscript, -sOUTPUTFILE=) s
18.0 342 m (also works.\) The %d is a printf format specification; you can use) s
18.0 324 m (other formats like %02d. Each file will receive one page of output.) s
18.0 306 m (Alternatively, to send the output to a single file foo.xyz, with all) s
18.0 288 m (the pages concatenated, use the switch) s
89.2 270 m (-sOutputFile=foo.xyz) s
18.0 234 m (On Unix systems, you can send the output directly to a pipe. For) s
18.0 216 m (example, to pipe the output to the command `lpr' \(which, on many Unix) s
18.0 198 m (systems, is the command that spools output for a printer\), use th